package com.dj.mingkong.common.enums;

/**
 * 音质类型
 *
 * @author zenglonghui
 * @date: 2022/11/9 17:57
 */
public enum ToneTypeEnum {
    /**
     * 标准音质
     */
    TEST(0, "标准音质"),

    /**
     * 高品音质
     */
    HD(1, "高品音质"),

    /**
     * 无损音质
     */
    SQ(2, "无损音质");

    private final Integer type;
    private final String name;

    ToneTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public boolean equalsType(Integer type) {
        return this.type.equals(type);
    }
}
